package com.tourlaid.mamagerment.ao.pc

import com.tourlaid.mamagerment.entity.ResponseData
import com.tourlaid.mamagerment.vo.SupplierListVo
import com.tourlaid.mamagerment.vo.SupplierVo
import java.util.*

/**
 * Created by xiaoyongge on 2017/7/23.
 */
interface SupplierAo {

    fun list(pageNo: Int, pageSize: Int): ResponseData<ArrayList<SupplierListVo>>

    fun insert(supplierName: String?, controlNo: String?)

    fun  detail(supplierId: Long?): SupplierVo

    fun  update(supplierId: Long?, supplierName: String?, controlNo: String?)

    fun  delete(supplierId: Long?)

}